package com.louzhu.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.louzhu.common.utils.PageUtils;
import com.louzhu.gulimall.product.entity.AttrGroupEntity;
import com.louzhu.gulimall.product.vo.AttrGroupWithAttrVo;
import com.louzhu.gulimall.product.vo.SpuItemAttrGroupVo;


import java.util.List;
import java.util.Map;

/**
 * 属性分组
 *
 * @author jianfneg
 * @email 501039356@qq.com
 * @date 2021-07-12 15:03:31
 */
public interface AttrGroupService extends IService<AttrGroupEntity> {

    PageUtils queryPage(Map<String, Object> params,Long catelogId);

    List<AttrGroupWithAttrVo> getAttrGroupWithAttrByCatelogId(Long catelogId);


    List<SpuItemAttrGroupVo> getAttrGroupWithAttrsBySpuId(Long spuId, Long catelogId);
}

